﻿using System;
using System.Collections.Generic;

namespace TCKQKL.FrontEnd.DataModel
{
    public class TradingResultUI
    {
        private string _symbol;
        private string _side;
        private decimal _subQtty;
        private decimal _subValue;
        private decimal _feeAmount;
        private OrdersBoscDataUI _rootOrder;
        private List<OrdersBoscDataUI> _relatedOrders;
        private List<MatchResultUI> _detailMatched;

        public TradingResultUI()
        {
        }
        public TradingResultUI(string Symbol, string Side, decimal SubQtty, decimal SubValue, OrdersBoscDataUI rootOrder, List<OrdersBoscDataUI> relatedOrder, List<MatchResultUI> detailOrder)
        {
            this._symbol = Symbol;
            this._side = Side;
            this._subQtty = SubQtty;
            this._subValue = SubValue;
            this._rootOrder = rootOrder;
            this._relatedOrders = RelatedOrders;
            this._detailMatched = detailOrder;
        }
        public string Symbol
        {
            get { return _symbol; }
            set { _symbol = value; }
        }
        public string Side
        {
            get { return _side; }
            set { _side = value; }
        }
        public decimal SubQtty
        {
            get { return _subQtty; }
            set { _subQtty = value; }
        }
        public decimal SubValue
        {
            get { return _subValue; }
            set { _subValue = value; }
        }
        public decimal FeeAmount
        {
            get { return _feeAmount; }
            set { _feeAmount = value; }
        }

        public OrdersBoscDataUI RootOrder
        {
            get
            {
                return _rootOrder;
            }

            set
            {
                this._rootOrder = value;
            }

        }
        public List<OrdersBoscDataUI> RelatedOrders
        {
            get { return _relatedOrders; }
            set { _relatedOrders = value; }
        }
        public List<MatchResultUI> DetailMatched
        {
            get
            {
                return _detailMatched;
            }

            set
            {
                this._detailMatched = value;
            }
        }
    }
}
